]> dgit.raspbian.org Git - gnome-shell.git/commit
boxpointer: If available, use source actor for constraining
authorJonas Ådahl <jadahl@gmail.com>
Mon, 4 Sep 2017 06:37:45 +0000 (14:37 +0800)
committerJonas Ådahl <jadahl@gmail.com>
Mon, 4 Sep 2017 08:28:58 +0000 (16:28 +0800)
commit96e14dcbe76cb2b7fc2dcb972a97575a7cb4a724
tree2b4ad2d4ee30138804834b322eb6eb3134876008
parent6914f8fb3224ce10353b90c2a9f254811bb1a5d9
boxpointer: If available, use source actor for constraining

If a source actor is set, use that for determining the arrow side (i.e.
whether the BoxPointer widget should expand in a certain direction).
This is better because it ensures that the popup is displayed on the
same monitor as the widget it originates from.

Without this, entering text with a vertically aligned input method
close to the bottom of a monitor would expand the BoxPointer downwards
on the monitor beneath it, instead of upwards, which is what one would
expect.

https://bugzilla.gnome.org/show_bug.cgi?id=786886
js/ui/boxpointer.js